package com.liziguo.lzgfp.client;

import io.netty.channel.EventLoopGroup;

/**
 * @Author: Liziguo
 * @Date: 2021/12/24 20:45
 */
public class Globale {

    public static EventLoopGroup workerGroup;
    public static String SERVER_HOST;
    public static int SERVER_PORT;
    //默认自动重连时间 单位秒
    public static int AUTO_RECONNECT;
    public static String key;
    public static String aesKey;
    private static int nextAutoReconnect;

    public static int getNextAutoReconnect() {
        final int val = nextAutoReconnect;
        nextAutoReconnect = AUTO_RECONNECT;
        return val;
    }

    public static void setNextAutoReconnect(int nextAutoReconnect) {
        Globale.nextAutoReconnect = nextAutoReconnect;
    }
}
